package com.platform.car.service.impl;

import com.platform.car.dao.CaptureDao;
import com.platform.car.model.Capture;
import com.platform.car.service.CaptureService;
import com.platform.common.base.impl.BaseServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

@Service
@Transactional
public class CaptureServiceImpl extends BaseServiceImpl<Capture> implements CaptureService {

    @Autowired
    private CaptureDao captureDao;


    @Override
    public List<Capture> selectByPlate(Capture capture) {
        return captureDao.selectByPlate(capture);
    }
}
